package com.fsy.mapper;

import com.fsy.entities.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 凡凡
* @description 针对表【message】的数据库操作Mapper
* @createDate 2022-04-29 11:18:39
* @Entity com.fsy.entities.Message
*/
public interface MessageMapper extends BaseMapper<Message> {
    /**
     * 全查   消息
     * @param message
     * @return
     */
    List<Message> selectAllByReceiverId(Message message);

    /**
     * 查询行数
     * @param message
     * @return
     */
    int getCount(Message message);
}




